<?php
$this->breadcrumbs=array(
	'Prueba',
);?>


<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'empresa-selectEmpresa-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'nombre'); ?>
		<?php echo $form->textField($model,'nombre'); ?>
		<?php echo $form->error($model,'nombre'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'direccion'); ?>
		<?php echo $form->textField($model,'direccion'); ?>
		<?php echo $form->error($model,'direccion'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton('Submit'); ?>
	</div>

<?php $this->endWidget(); 

echo CHtml::ajaxLink('clickMe', array('categorias/create'), array('update'=>'#hola'));
?>

<div id='hola'>
</div>